/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.teamservice.entity;

import com.jeeplus.modules.member.entity.Member;
import com.jeeplus.modules.goods.entity.Goods;

import com.jeeplus.core.persistence.DataEntity;
import com.jeeplus.common.utils.excel.annotation.ExcelField;

/**
 * 团队手续费Entity
 * @author w
 * @version 2020-12-03
 */
public class TeamService extends DataEntity<TeamService> {
	
	private static final long serialVersionUID = 1L;
	private Member member;		// 用户名
	private Double money;		// 团队收益
	private Goods goods;		// 订单商品
	private String number;    //交易编号
	private String goodstype;//商品类型
	private Double goodsprice;//商品价格
	private String goodsname; //商品名称
	private String goodsid;//商品编号

	private String exportTime;//导出时间

	public String getGoodstype() {
		return goodstype;
	}

	public void setGoodstype(String goodstype) {
		this.goodstype = goodstype;
	}

	public Double getGoodsprice() {
		return goodsprice;
	}

	public void setGoodsprice(Double goodsprice) {
		this.goodsprice = goodsprice;
	}

	@ExcelField(title="收益名称", align=2, sort=4)
	public String getGoodsname() {
		return goodsname;
	}

	public void setGoodsname(String goodsname) {
		this.goodsname = goodsname;
	}

	public String getGoodsid() {
		return goodsid;
	}

	public void setGoodsid(String goodsid) {
		this.goodsid = goodsid;
	}

	@ExcelField(title="订单号", align=2, sort=3)
	public String getNumber() {
		return number;
	}

	public void setNumber(String number) {
		this.number = number;
	}


	public TeamService() {
		super();
	}

	public TeamService(String id){
		super(id);
	}

	@ExcelField(title="用户名", fieldType=Member.class, value="member.loginName", align=2, sort=1)
	public Member getMember() {
		return member;
	}

	public void setMember(Member member) {
		this.member = member;
	}
	
	@ExcelField(title="手续费收益", align=2, sort=2)
	public Double getMoney() {
		return money;
	}

	public void setMoney(Double money) {
		this.money = money;
	}
	
//	@ExcelField(title="订单商品", fieldType=Goods.class, value="goods.name", align=2, sort=9)
	public Goods getGoods() {
		return goods;
	}

	public void setGoods(Goods goods) {
		this.goods = goods;
	}

	@ExcelField(title="时间", align=2, sort=9)
	public String getExportTime() {
		return exportTime;
	}

	public void setExportTime(String exportTime) {
		this.exportTime = exportTime;
	}
}